package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/6/9 17:03
 */
@Getter
@Setter
@Table(name = "t_production_process")
@TableName(value = "t_production_process")
public class ProductionProcessEntity{

    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Column(name = "production_id", type = MySqlTypeConstant.INT, length = 11)
    @TableField(value = "production_id")
    private Integer productionId;

    @Column(name = "process_id", type = MySqlTypeConstant.INT, length = 11)
    @TableField(value = "process_id")
    private Integer processId;

    @Column(name = "is_using", type = MySqlTypeConstant.TINYINT, length = 4)
    @TableField(value = "is_using")
    private Integer isUsing;

}
